objects = create.o delete.o drop.o error.o insert.o select.o update.o \
	  where.o
INCLUDE = ../include
LIBS = ../FileIO/FileIO.a
CFLAGS = -O2

CC = gcc

.PHONY: all clean

all: core.a

core.a: $(objects)
	ar qcv $@ $(objects)

$(objects): %.o: %.c
	$(CC) -g -c $(CFLAGS) $< -I $(INCLUDE) -o $@

clean:
	rm -rf *.o
	rm -rf *.a
